<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>第三章：数组分析</title>
    </head>
    <body>
        <script type="text/javascript">
            (function ArrayTest(){
                var testString = "this is for fucntion test in array join!";
                var testArr = [1, 2, 3, 4];
                var main = ['test:', testString.slice(0, 25), testArr, 3 + 5, {
                    name: 'xxx'
                }];
                alert(main.join("-->"));
                //rusult:"test:-->this is for fucntion test-->1,2,3,4-->8-->[object Object]"
            })()
        </script>
    </body>
